package com.colorfruit.admin.business.dao;

import com.colorfruit.admin.pojo.entity.ConfigCommon;
import org.apache.ibatis.annotations.Param;

public interface ConfigCommonMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ConfigCommon record);

    int insertSelective(ConfigCommon record);

    ConfigCommon selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ConfigCommon record);

    int updateByPrimaryKey(ConfigCommon record);

    ConfigCommon getConfigInfoByCode(@Param("configCode") String configCode);

    int updateConfigWithCode(@Param("configCode") String configCode,
                             @Param("configValue") String configValue);
}